/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.session;

import com.velocityme.entity.Activity;
import com.velocityme.entity.Sprint;
import com.velocityme.utility.DurationRemaining;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author rcrida
 */
@Local
public interface SprintLocal {

    Sprint findSprint(KeyLocal key, Long sprintId);

    Sprint createSprint(KeyLocal key, Sprint sprint);

    void editSprint(KeyLocal key, Sprint sprint);

    Map<Activity,DurationRemaining> searchProgressSum(KeyLocal key, Sprint sprint);

    Map<String,DurationRemaining> searchDurationSum(KeyLocal key, Sprint sprint);

    Map<String,Object> getSearchTimeLog(KeyLocal key, Sprint sprint);

    Map<String,Object> getUnplannedSearchTimeLog(KeyLocal key, Sprint sprint);
    
}
